package Service;

import Domain.Cart;

import java.util.List;

public interface CartService {
    public List<Cart> FindCartByUserid(int id);

    public void DelCartItem(int id);

    public void AddCart(int uid,int pid,Double price);

    public List<Cart> FindCartItemById(int id);

    public void UpdateCartItemNumById(int id,int num ,Double total);

    public List<Cart> getCarts(String[] ids);
}
